package com.caocaog.market.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 访问量统计
 *
 * @author jeecg-boot
 * @date 2022-01-19
 */
@Data
@TableName("mk_page_view")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mk_page_view对象", description="访问量统计")
public class PageView implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**设备号*/
    @Excel(name = "设备号", width = 15)
    @ApiModelProperty(value = "设备号")
    private java.lang.String ip;
    /**是否安卓 0-安卓1-ios*/
    @Excel(name = "是否安卓 0-安卓1-ios", width = 15)
    @ApiModelProperty(value = "是否安卓 0-安卓1-ios")
    private java.lang.Integer isAndroid;
    /**会员*/
    @Excel(name = "会员", width = 15)
    @ApiModelProperty(value = "会员")
    @Dict(dictTable = "mk_member_basic",dicText = "nick_name",dicCode = "id")
    private String memberId;
}
